<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Msgtpl/index')}">消息模板</a></li>
			<li class="active"><a>消息模板添加</a></li>
		</ul>
		<form action="{:U('Msgtpl/add_post')}" id="adadd" method="post" class="form-horizontal js-ajax-form" enctype="multipart/form-data">
			<fieldset>
	            <div class="control-group">
	                <label class="control-label">消息模板标题</label>
	                <div class="controls">
	                    <input type="text" name="frm[msg_title]" id="msg_title">
	                </div>
	            </div>
	            <div class="control-group">
	                <label class="control-label">消息模板类型</label>
	                <div class="controls">
	                    <input type="radio" name="frm[msg_type]" value="1" checked>普通消息&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	                    <input type="radio" name="frm[msg_type]" value="2">系统消息
	                </div>
	            </div>
	            <div class="control-group">
	                <label class="control-label">消息模板标识</label>
	                <div class="controls">
	                    <input type="text" name="frm[msg_ident]" id="msg_ident">
	                </div>
	            </div>
	            <div class="control-group">
	                <label class="control-label">消息模板内容</label>
	                <div class="controls">
	                    <textarea name="frm[msg_content]" rows="2" cols="20" id="msg_content" class="inputtext" style="height: 100px; width: 500px;"></textarea>
	                </div>
	            </div>
	            <div class="control-group">
	                <label class="control-label">状态</label>
	                <div class="controls">
	                    <input type="radio" name="frm[status]" value="1" checked>启用&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	                    <input type="radio" name="frm[status]" value="2">禁用
	                </div>
	            </div>
	        </fieldset>
			<div class="form-actions">
				<button class="btn btn-primary js-ajax-submit" type="submit">提交</button>
				<a class="btn" href="{:U('Msgtpl/index')}">返回</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>